@layout("/common/_container.html",{js:["/assets/common/module/ueditor/ueditor.config.js","/assets/common/module/ueditor/ueditor.all.js","/assets/modular/recy/productExchange/productExchange_add.js","/assets/common/libs/rapid-validator/prototype_for_validation.js","/assets/common/libs/rapid-validator/validation_cn.js","/assets/common/libs/rapid-validator/tooltips.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加积分兑换</span>
</div>

<div class="layui-container" style="">
    <form id="productExchangeForm" lay-filter="productExchangeForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
        <input name="id" type="hidden"/>
        <div class='layui-form-item'>
            <div class="layui-inline">
                <label class="layui-form-label">操作管理员</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="userId" name="userId" placeholder="操作管理员" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">兑换用户</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="wechatId" name="wechatId" placeholder="兑换用户" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">兑换积分</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="useJifen" name="useJifen" placeholder="兑换积分" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">商品积分</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="productJifen" name="productJifen" placeholder="商品积分" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">兑换的商品</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="productId" name="productId" placeholder="兑换的商品" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">兑换时间</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="createTime" name="createTime" placeholder="兑换时间" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">备注</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="remark" name="remark" placeholder="备注" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">收货地址</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="address" name="address" placeholder="收货地址" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">收件人</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="userName" name="userName" placeholder="收件人" type="text" class="layui-input   required" />
                </div>
            </div>
            <div class="layui-inline">
                <label class="layui-form-label">收件人电话</label>
                <div class="layui-input-block">
                    <input style="width:150px" id="userPhone" name="userPhone" placeholder="收件人电话" type="text" class="layui-input   required" />
                </div>
            </div>
        </div>
        <div class="layui-form-item text-right">
            <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
            <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog" id="backupPage">返回</button>
        </div>
    </form>
</div>

@}